<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sx" uri="/struts-dojo-tags"%>
<sx:head extraLocales="en-us,nl-nl,de-de" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>注册面板</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	</head>
	<body>
		你好！
		<s:form action="member!join" method="post" namespace="/member">
			<s:textfield name="member.memberName" size="15" tabindex="1"
				label="姓名" />
			<s:password name="member.memberPassword" size="17" tabindex="2"
				label="密码" />
			<s:textfield name="member.memberUniversity" size="15" tabindex="1"
				label="大学" />
			<s:select label="主修"
				list="%{#{0:'数学', 1:'物理', 2:'英语'}}"
				name="member.memberMajor" emptyOption="false" headerKey="None"
				headerValue="--选择你的主修课程--" />


			<s:textfield name="member.memberEmail" size="15" tabindex="1"
				label="邮箱" />
			<s:select label="状态"
				list="%{#{0:'教学', 1:'学习', 2:'工作'}}"
				name="member.memberState" emptyOption="false" headerKey="None"
				headerValue="--选择你的声明--" />

			<s:textfield name="member.memberHobby" size="15" tabindex="1"
				label="业余爱好" />
			<s:textfield name="member.memberMsn" size="15" tabindex="1"
				label="MSN" />
			<s:textfield name="member.memberRealName" size="15" tabindex="1"
				label="真实姓名" />
			<s:textfield name="member.memberBirthPlace" size="15" tabindex="1"
				label="出生地址" />
			<s:textfield name="member.memberCardId" size="15" tabindex="1"
				label="卡号" />

			<s:select label="学位"
				list="%{#{0:'硕士', 1:'博士', 2:'博士后'}}"
				name="member.memberDegree" emptyOption="false" headerKey="None"
				headerValue="--选择你的学位--" />
			<s:textfield name="member.memberSchoolAge" size="15" tabindex="1"
				label="学龄" />

			<s:select label="入学年份" list="{2000,1999,1998}"
				name="member.memberEnterYear" emptyOption="false" headerKey="None"
				headerValue="--选择你的入学年份 --" />

			<s:select label="毕业年份" list="{2000,1999,1998}"
				name="member.memberGradYear" emptyOption="false" headerKey="None"
				headerValue="--选择你的毕业年份 --" />

			<s:select label="学习陈述"
				list="%{#{0:'硕士', 1:'博士', 2:'博士后'}}"
				name="member.memberStudyState" emptyOption="false" headerKey="None"
				headerValue="--选择你的学习陈述--" />

			<s:textfield name="member.memberClass" size="15" tabindex="1"
				label="班级" />
			<s:textfield name="member.memberWorkspace" size="15" tabindex="1"
				label="工作空间" />
			<s:textfield name="member.memberDuty" size="15" tabindex="1"
				label="职责" />
			<s:textfield name="member.memberTitle" size="15" tabindex="1"
				label="头衔" />
			<s:textfield name="member.memberPlace" size="15" tabindex="1"
				label="职务" />
			<s:textfield name="member.memberPostcode" size="15" tabindex="1"
				label="邮政编码" />
			<s:textfield name="member.memberWorkPhone" size="15" tabindex="1"
				label="单位电话" />
			<s:textfield name="member.memberHomePhone" size="15" tabindex="1"
				label="家庭电话" />
			<s:textfield name="member.memberTelephone" size="15" tabindex="1"
				label="手机" />
			<sx:datetimepicker label="出生日期"
				name="member.memberBirthday" displayFormat="yyyy-MM-dd"
				value="%{'today'}" />
			<s:textfield name="member.memberQq" size="15" tabindex="1"
				label="QQ" />
			<s:textarea name="member.memberDescription"  tabindex="1"
				label="说明" />

			<s:submit label="提交"/>
		</s:form>
	</body>
</html>
